Holds the requirements for the composition target. More...
#include <kanzi/core.ui/graphics2d/composition_requirements.hpp>
Public Attributes | |
bool | alpha |
Whether the content requires alpha channel. More... | |
bool | depth |
Whether the content requires depth buffer. More... | |
unsigned int | numSamples |
Number of MSAA samples for the content buffer. More... | |
Vector2 | size |
Required size of the source content to be used by the composition or effect. More... | |
bool | stencil |
Whether the content requires stencil buffer. More... | |
Holds the requirements for the composition target.
Vector2 kanzi::CompositionContentRequirements::size |
Required size of the source content to be used by the composition or effect.
bool kanzi::CompositionContentRequirements::alpha |
Whether the content requires alpha channel.
bool kanzi::CompositionContentRequirements::depth |
Whether the content requires depth buffer.
bool kanzi::CompositionContentRequirements::stencil |
Whether the content requires stencil buffer.
unsigned int kanzi::CompositionContentRequirements::numSamples |
Number of MSAA samples for the content buffer.